home *** CD-ROM | disk | FTP | other *** search
- Path: nnrp.info.ucla.edu!jmartin
- From: jmartin@cs.ucla.edu (Jay Martin)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: 15 Mar 1996 20:18:17 GMT
- Organization: University of California, Los Angeles
- Message-ID: <4icja9$1r92@saba.info.ucla.edu>
- References: <00001a73+00002504@msn.com> <Pine.A32.3.91.960313165249.124278B-100000@red.weeg.uiowa.edu> <4i9ld6$m2v@rational.rational.com> <4iah20$p7k@saba.info.ucla.edu> <4ica32INN5hn@gambier.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: may.cs.ucla.edu
- X-Newsreader: NN version 6.5.0.b3.0 #9 (NOV)
-
- c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
-
- >In article <4iah20$p7k@saba.info.ucla.edu>,
- >Jay Martin <jmartin@cs.ucla.edu> wrote:
- > >rlk@rational.com (Bob Kitzberger) writes:
- > >
- > >>: make is a _general_purpose_ utility. It _can_ be used to manage C
- > >>: projects, or it can be used for a whole host of other things. How is
- > >>: this hard to understand? Does ADA provide its own OS, its own editor and
- > >>: its own hardware so that you never need to use anything else?
- > >
- > >>I don't think that anyone is having difficulty understanding your point.
- > >>Make is indeed general purpose, but its roots are in the C/Unix
- > >>culture, and those roots show.
- > >
- > >Right, make is mostly used to support development in C and other
- > >primitive languages. I have seen this piece of crap utility used for
- > >all sort of braindead misuses. Unix-ites seem to love to dp goofy
- > >things with their utilities. Heh, I have seen people using Lex and
- > >Yacc to build parsers to read in simple tables. Like swatting a bug
-
- >Lex and Yacc are proven utilities that work.
-
- Lex and Yacc are braindead crap along with C and Unix. Do they have an
- option to output Ada??
-
- >The input file to Lex is far easier to debug and maintain than a hand-written
- >lexical analyzer.
- >Yacc makes you an efficient LALR(1) parser---all you do is specify a grammar
- >and a few C snippet ``actions''! If it was any easier, I'd fall asleep at the
- >keyboard.
-
- You have become and "idiot savant" at it, congratulations,
- unfortunately the next guy might not reading your code. I wasn't
- talking about needing a grammer, I was talking with about reading in a
- simple table. Its stupid to bring in two tools with two more
- "languages" to do something trivial that takes a page of normal code.
-
- >A lex generated scanner is far more robust and _faster_ than scanf(),
- you twit, >especially if you use GNU flex -f to generate the scanner.
- >I have written a test program in which I compared a flex scanner against
- >scanf()....
-
- > System specific performance nonsense deleted.
- > Glowing accounts of the wonderfulness of Lex and Yacc deleted.
-
- Jay
-